import {createRouter, createWebHashHistory, RouteRecordRaw} from 'vue-router';

const routes:Array<RouteRecordRaw> = [
    {
        path: '/',
        name: 'index',
        component: () => import("../pages/Index.vue"),
        alias: '/',
        meta: {
            title: '首页'
        }
    },
];

const router = createRouter({
    history: createWebHashHistory(),
    routes
});
export default router;